package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.SubComment;
import java.util.List;
import java.util.Map;

public interface SubCommentMapper {
    int insert(SubComment record);

    List<SubComment> selectById(Long id);

    List<SubComment> selectAll();

    List<SubComment> getSubContentByUserId(Long id);

    int getCountHasReadComment(Long id);

    void setHasRead(Map<String, Object> map);
}